projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f40b3bc
)
x11: Fix a crash
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 11 Nov 2017 17:07:11 +0000
(12:07 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 11 Nov 2017 17:07:11 +0000
(12:07 -0500)
This was crashing the moment a second window is opened.
gdk/x11/gdkdevice-xi2.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdevice-xi2.c
b/gdk/x11/gdkdevice-xi2.c
index 78f27821859d1f7503a89cf891246e9db8bced87..210c72bb108e4050e7f088c291e722577465d636 100644
(file)
--- a/
gdk/x11/gdkdevice-xi2.c
+++ b/
gdk/x11/gdkdevice-xi2.c
@@
-359,7
+359,7
@@
gdk_x11_device_xi2_query_state (GdkDevice *device,
}
if (!GDK_X11_DISPLAY (display)->trusted_client ||
- !XIQueryPointer (GDK_
WINDOW_XDISPLAY (window
),
+ !XIQueryPointer (GDK_
DISPLAY_XDISPLAY (display
),
device_xi2->device_id,
xwindow,
&xroot_window,